import Vue from 'vue';
import VueRouter from 'vue-router';

const commonPage = () => import(/* webpackChunkName: "common-page" */ '@/views/common-page');

Vue.use(VueRouter);

const routes = [
    {
        path: '/',
        redirect: '/common-page',
    },
    {
        path: '/common-page',
        name: '公共列表页',
        component: commonPage,
    },
];

const router = new VueRouter({
    routes,
});

export default router;
